﻿using System;
using System.Collections.Generic;
using System.Text;

using System.Windows.Forms;
using System.IO;
using System.Drawing;

namespace WOWMultiPlay
{
    public static class Setting_Global
    {
        public static string AppPath = Application.StartupPath;
        public static string SettingsFileName = "Settings.ini";
        public static string SettingsFilePath = Path.Combine(AppPath, SettingsFileName);
        public static string ProfilesFolderName = "Profiles";
        public static string ProfilesFolderPath = Path.Combine(AppPath, ProfilesFolderName);
        public static string RunningProfileTempFileSuffix = "rp";
        public static Encoding DefaultIniFileEncoding = Encoding.Unicode;

        public static Color RunningButtonFontColor = Color.Red;
        public static Color NormalButtonFontColor = Color.Black;

        #region settings.ini

        public static string IniFileSection_AppSettings = "AppSettings";

        public static double AppOpacity = 100;
        public static string ProcessName = "wow";
        public static string Interval_KeyPress = "100ms";
        public static string Interval_KeyDown_Up = "50ms";
        public static int MaxButtonCountPerLine = 4;
        public static int WindowWidth = 300;
        public static int WindowHeight = 100;

        #endregion

        #region shared variables for different forms

        public static bool LoadedInstance = false;
        public static IntPtr Instance;

        public static bool LoadedProfile = false;
        public static Helper_Profile.Profile Profile;

        #endregion
    }
}